<!DOCTYPE html>
<html style="background: none">
    <head>
        <meta charset="utf-8">
        <!-- <meta charset="gb2312"> -->
        
        <meta name="author" content="">

        <meta name="Keywords" content="">
        <meta name="description" content="">
        
        <!-- 启用360浏览器的极速模式(webkit)-->
        <meta name="renderer" content="webkit">          
        <!-- 避免IE使用兼容模式 -->
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        
        <!-- mobile -->
        <meta name="viewport" content="width=device-width, initial-scale=1.0,user-scalable=no" />
        
        <link rel="shortcut icon" href="favicon.ico" type="images/x-icon" />
        <link rel="bookmark" href="favicon.ico" />
        <style>
          }</style>
        <title>金塔珠宝</title>
        <!--[if lt IE 9 ]>
            <script src="js/hack/html5shiv.js"></script>
        <![endif]-->
<!--        <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>-->
        
        <!-- <script src="http://192.168.1.106:8008/con/assets/js/f5.js"></script> -->
        

        <link rel="stylesheet" href="../Public/css/base.css">
        <link rel="stylesheet" href="../Public/css/common.css">
        <link rel="stylesheet" href="../Public/css/page.css">
        <link rel="stylesheet" href="../Public/css/font.css">
        <link rel="stylesheet" href="../Public/css/responsive.css">
        
        <style>
        .btn-save{
      
    display: block;
    height: 35px;
    line-height: 35px;
    background: #F15353;
    text-align: center;
    color: #fff;
    width: 85%;
    border: 0;
    font-size: 15px;
    margin: auto;
    border-radius: 5px;
    margin-top: 40px;
 margin-bottom: 40px;
        }
        </style>
    </head>

    <body style="background: #f3f1f1">
        <!-- nav [[ -->
             <include file="Common:header"/>
        <!-- nav ]] -->

        <!-- header [[ -->
<!--         <header class="header">
            <div class="title">
                <div class="bg">
                    <span class="icon"></span>
                    <span class="txt">我的订单</span>
                </div>
            </div>
        </header> -->
        <!-- header ]] -->

        <!-- content [[ -->
        <div class="content mod_order" >
            <ul class="item_list">
         <volist name="data" id="vo" empty="$empty">
                <li class="list list_hd" style="border-top:1px solid #f2f2f2;height:100%;background:#fff;margin-top:2%  ">
                <div style="background: url('../Public/images/border_order_top.png'); height: 2px"></div>
                  <span class="number" style="float: left;">{$vo.name}</span>
                    <time class="time" style="float: right;">{$vo.tel}</time>
                    <div style="clear: both;border-bottom:1px solid #f2f2f2;line-height: 30px;font-size: 1.4em">{$vo.diqu}{$vo.address}</div>
                </li>
                <li class="list list_hd" style="background: #fff;">
                  <span class="number" style="float: left;border-color: #ff3800;-webkit-border-radius: 3px;-moz-border-radius: 3px;border-radius: 3px;background: #ffd6cc; color: #f30;font-size: 12px;line-height: 22px;margin-top: 3%;padding-left: 2px;padding-right: 2px"><if condition="$vo.status eq 1">默认地址</if></span>

                    <div class="time" style="float: right;">
                     <a style="height: 26px;line-height: 26px;display: inline-block;text-align: center;margin-top: 2%;color:#999999" href="{:U('User/dzupdate',array('id'=>$vo[id]))}"  >【修改】</a>
                    <a style="height: 26px;line-height: 26px;display: inline-block;text-align: center;margin-top: 2%;color:#999999" href="{:U('User/dizhi',array('id'=>$vo[id]))}"  >【删除】</a></div>
             
                </li> 
       
     </volist>
       
     
            </ul>
            

          <button class="btn-save" onclick="window.location.href='{:U('User/dizhitj')}';">新增收货地址</button>

            
             
             
          
        </div>
        <!-- content ]] -->
        
        <!-- footer [[ -->
     <script src="../Public/js/lib/jquery.1.10.2.min.js"></script>
        <script type="text/javascript" src="../Public/layer/layer.js"></script>

<!-- 选择变色 -->

<script type="text/javascript">

// function getcheckbox(obj){
//  if($(obj).is(":checked")){  
//       $(obj).parent().parent().parent().addClass('checked');
   
//     }else{
//      $(obj).parent().parent().parent().removeClass('checked');
//     }
    
// }

 function shanchu(obj,starturl){
  layer.confirm('确认删除订单？',{title:'订单删除'},function(){
       //AJAX异步传输过去              
       htmlobj=$.ajax({url:starturl,async:false});
       if(htmlobj.responseText=="ok")
       {
        layer.msg('删除成功!',{time:1000},function(){
           location.reload();
        });
 
              
       }else{
         layer.msg('删除失败!',{time:1000},function(){
           location.reload();
        });
      
       }
  });
}  
 function xiangqing(obj,url){
window.location.href=url;
 }
</script>



    </body>
</html>